//
//  CacheCenter.h
//  ENTBoostChat
//
//  Created by zhong zf on 14-8-15.
//  Copyright (c) 2014年 EB. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ChatImage;

@interface RunningCache : NSObject

///获取全局单实例
+ (RunningCache*)sharedCache;

///清空缓存
+ (void)clear;

///记录聊天图片
- (void)addChatImage:(ChatImage*)cImage;

///获取聊天图片
- (ChatImage*)chatImageForTag:(NSString*)tag;

///删除一个聊天图片
- (void)removeChatImageForTag:(NSString*)tag;

///删除所有聊天图片
- (void)removeAllChatImage;

@end
